package com.coocaa.ops.admin.v1.auth.sys.biz.impl;


import com.coocaa.ops.admin.v1.auth.sys.biz.ISysRoleBiz;
import com.coocaa.ops.admin.v1.auth.sys.mapper.ISysRoleMapper;
import com.coocaa.ops.common.core.base.BaseBizImpl;
import com.coocaa.ops.common.core.biz.auth.entity.SysRoleEntity;
import com.coocaa.ops.common.tool.date.DateUtil;
import org.springframework.stereotype.Service;

/**
 * @author bijiahao
 * @date : 2019/3/11.
 * @description
 */
@Service
public class SysRoleBizImpl extends BaseBizImpl<ISysRoleMapper, SysRoleEntity> implements ISysRoleBiz {
    @Override
    public SysRoleEntity updateById(SysRoleEntity entity) {
        entity.setLastUpdateDate(DateUtil.getCurDate());
        return super.updateById(entity);
    }
}
